// backend/routes/knowledge.js
const express = require('express');
const router = express.Router();
const { 
    getKnowledgeItems, 
    addKnowledgeItem, 
    deleteKnowledgeItem 
} = require('../controllers/knowledgeController');

router.get('/', getKnowledgeItems);
router.post('/', addKnowledgeItem);
router.delete('/:id', deleteKnowledgeItem);

module.exports = router;